package mhys.Entity;
/*
    学生类
 */

public class Student {
    private Integer s_id;
    private String s_name;
    private String s_number;
    private String sex;
    private String classes;
    private String phone;

    public Student() {
    }

    public Student(Integer s_id, String s_name, String s_number, String sex, String classes, String phone) {
        this.s_id = s_id;
        this.s_name = s_name;
        this.s_number = s_number;
        this.sex = sex;
        this.classes = classes;
        this.phone = phone;
    }

    public Integer getS_id() {
        return s_id;
    }

    public void setS_id(Integer s_id) {
        this.s_id = s_id;
    }

    public String getS_name() {
        return s_name;
    }

    public void setS_name(String s_name) {
        this.s_name = s_name;
    }

    public String getS_number() {
        return s_number;
    }

    public void setS_number(String s_number) {
        this.s_number = s_number;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Student{" +
                "s_id=" + s_id +
                ", s_name='" + s_name + '\'' +
                ", s_number='" + s_number + '\'' +
                ", sex='" + sex + '\'' +
                ", classes='" + classes + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
